package com.luoc.base.config.mybatis.mapper;

import com.luoc.base.config.mybatis.entity.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author luoc
 * @since 2019-07-25
 */
@Mapper
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
    /**
     * 查询用户角色
     *
     * @param userName
     * @return
     */
    List<SysUserRole> selectRoleIdsByUserId(String userName);
}
